package com.qili.mapper.jc;

import com.qili.base.mapper.BaseMapper;
import com.qili.entity.jc.JcProjectMilepost;
import com.qili.entity.jc.JcProjectStage;
import com.qili.entity.jc.dto.JcProjectMilepostDTO;

import java.util.List;

/**
 * @author zhaoyongke
 * @date 2020/11/3  项目 里程碑
 * @description
 */
public interface JcProjectMilepostMapper extends BaseMapper<JcProjectMilepost,String> {

    List<JcProjectMilepostDTO> selectProjectmilepost(JcProjectMilepostDTO dto);
    /**
     * @Author:Zhangshuo
     * @Description:根据项目ID删除
     * @param ids
     * @Date:20:33 2020-12-11
     */
    int deleteByProjectIds(String[] ids);

    String getFinishedMilepostProgress(JcProjectStage stage);

        String getFinishedMilepostProgressWith(JcProjectMilepost milepost);

    List<JcProjectMilepostDTO> selectMilePostOrder(JcProjectMilepostDTO dto);

}
